#ifndef DEVICE_H
#define DEVICE_H

#include <QString>
#include <QDate>

class Device
{
public:
    Device();
    Device(const QString &name, const QString &type, const QString &location, const QString &manufacturer, const QString &model, const QDate &installationDate);
    Device(const Device &other);
    Device& operator=(const Device &other);

    int getDeviceId() const;
    void setDeviceId(int id);

    QString getName() const;
    void setName(const QString &name);

    QString getType() const;
    void setType(const QString &type);

    QString getLocation() const;
    void setLocation(const QString &location);

    QString getManufacturer() const;
    void setManufacturer(const QString &manufacturer);

    QString getModel() const;
    void setModel(const QString &model);

    QDate getInstallationDate() const;
    void setInstallationDate(const QDate &date);

private:
    int deviceId;
    QString name;
    QString type;
    QString location;
    QString manufacturer;
    QString model;
    QDate installationDate;
};

#endif // DEVICE_H
